﻿<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>客户跟进历史</title>
    <!--freemarker引入模板文件 使用相对路径来引入-->
    <#include "../common/link.ftl" >

</head>
<body class="hold-transition skin-blue sidebar-mini">
<div class="wrapper">

    <#include "../common/navbar.ftl" >
    <!--菜单回显-->
    <#assign currentMenu="customerTraceHistory"/>
     <#include "../common/menu.ftl" >








    <div class="content-wrapper">
        <section class="content-header">
            <h1>客户跟进历史</h1>
        </section>
        <section class="content">
            <div class="box">
                <!--高级查询--->
                <!--高级查询--->
                <div style="margin: 10px;">
                    <form class="form-inline" id="searchForm" action="/customerTraceHistory/list" method="post">
                        <input type="hidden" name="currentPage" id="currentPage" value="1">
                        <div class="form-group">
                            <label for="keyword">关键字:</label>
                            <input type="text" class="form-control" id="keyword" name="keyword" value="${qo.keyword!}"
                                   placeholder="请输入姓名/邮箱">
                        </div>

                        <button id="btn_query" class="btn btn-primary"><span class="glyphicon glyphicon-search"></span>
                            查询
                        </button>

                    </form>
                    <!--编写内容-->
                    <div class="box-body table-responsive no-padding ">
                        <table class="table table-hover table-bordered">
                            <tr>
                                <th>编号</th>
                                <th>姓名</th>
                                <th>跟进日期</th>
                                <th>跟进的内容</th>
                                <th>跟进的方式</th>
                                <th>跟进的结果</th>
                                <th>录入人</th>

                            </tr>

                        <#--新语法遍历循环-->
                        <#list result.list as history>
                            <tr>
                                <td>${history_index+1}</td>
                                <td>${(history.customer.name)!}</td>
                                <td>${(history.traceTime?string('yyyy-MM-dd'))!}</td>
                                <td>${(history.traceDetails)!}</td>
                                <td>${(history.traceType.title)!}</td>
                                <td>${(history.traceResult)!}</td>
                                <td>${(history.inputUser.name)!}</td>

                            </tr>
                        </#list>
                        </table>




                        <!--分页-->
                     <#include "../common/page.ftl">

                    </div>
                </div>
        </section>
    </div>

    <#include "../common/footer.ftl">
</div>



</body>
</html>



